<?php
/* @var $this BannerController */
/* @var $data Banner */
?>

<div class="view">

	<b><?php echo CHtml::encode($data->getAttributeLabel('banner_id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->banner_id), array('view', 'id'=>$data->banner_id)); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('banner_imgpath')); ?>:</b>
	<?php echo CHtml::encode($data->banner_imgpath); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('banner_url')); ?>:</b>
	<?php echo CHtml::encode($data->banner_url); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('banner_remark')); ?>:</b>
	<?php echo CHtml::encode($data->banner_remark); ?>
	<br />

    <?php 
    if(!empty($data->banner_imgpath)){
		echo CHtml::image('./assets/upload/image/'.$data->banner_imgpath,
		          $data->banner_remark,
		          array('width'=>400,'height'=>120)
            ); 
    } 
    ?>
</div>